package com.szrt.zengyao.day20161019;

public class TeacherEntity {
	
	private int id;
	private String teacherName;
	private int age;
	private int salary;
	
	
	public TeacherEntity() {
		super();
	}
	public TeacherEntity(int id, String teacherName, int age, int salary) {
		super();
		this.id = id;
		this.teacherName = teacherName;
		this.age = age;
		this.salary = salary;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getTeacherName() {
		return teacherName;
	}
	public void setTeacherName(String teacherName) {
		this.teacherName = teacherName;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public int getSalary() {
		return salary;
	}
	public void setSalary(int salary) {
		this.salary = salary;
	}
	@Override
	public String toString() {
		return "TeacherEntity [id=" + id + ", teacherName=" + teacherName + ", age=" + age + ", salary=" + salary + "]";
	}

}
